{{define "menu"}}
<div class="ui fixed inverted menu">
    <div class="ui container">
        <a href="/center" class="header item">
            <img class="logo" src="/assets/imgs/logo-100.png"> COLL-MZ
        </a>
        <a href="/center" class="item"><i class="browser icon"></i> 首页</a>
        <a href="/set" class="item"><i class="cloud download icon"></i> 采集</a>
        {{if eq .debug "true"}}
        <a href="/debug" class="item"><i class="configure icon"></i> Debug</a>
        {{end}}
        <a href="/action-logout" class="item"><i class="sign out icon"></i> 退出</a>
    </div>
</div>
{{end}}